package files;

public class Files {
	public static String BOOK_ROOT = "file:///E:/Data/Applications/Book";

	private static Files instance = new Files();

	private String bookName;

	private Files() {

	}

	public static String getBookFolder() {
		return BOOK_ROOT + "/" + instance.bookName;
	}

	public static void setBook(String value) {
		instance.bookName = value;
	}

	public static String getBookIllustrationFile() {
		return BOOK_ROOT + "/" + instance.bookName + "/" 
				+ instance.bookName + ".png";
	}

	public static String getBookFile() {
		return BOOK_ROOT + "/" + instance.bookName + "/"
				+ instance.bookName + ".txt";
	}
}
